package com.example.controller;

import com.example.feign.custormerFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 本类用来演示:
 *
 * @Author 胡英俊
 * @Date 2022/7/16 6:03
 */
@RestController
public class custormerController {
    @Autowired()
    private custormerFeign feign;
    @GetMapping("getServices")
    public String getServices(){
        String rent = feign.getRent();
        System.out.println(rent);
        return rent;
    }
}
